package com.tenement.mapper;

import com.mybatisflex.core.BaseMapper;
import com.tenement.dto.SelectDto;
import com.tenement.entity.User;
import com.tenement.entity.UserTenement;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  映射层。
 *
 * @author BertXie
 * @since 1.0.1
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<SelectDto> adminBindSelect(String keyWord);

    boolean bindProperty(UserTenement userTenement);
}
